From bd52776ba7971c4a91c7682db768947e3fe14a24 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 19 Jun 2006 20:33:10 +0000 Subject: [PATCH] When converting HTML to text, convert newline to space. --- util.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/util.c b/util.c index f0974d423..cb115058a 100644 --- a/util.c +++ b/util.c @@ -1194,7 +1194,9 @@ strip_html(const utf_string *in) } if (! tag[0]) { - if (*instr != '\n') + if (*instr == '\n') + *out++ = ' '; + else *out++ = *instr; } else { -- 2.30.2